﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WJP.Events.Bus;

namespace TestLib.Events
{
    public class TestEventBus
    {
        public static void EventBusTest()
        {
            EventBus.Default.Register(typeof(TestEventData), new TestEventHandler());

            EventBus.Default.Trigger(new TestEventData("我是测试消息"));
        }
    }
}
